package org.diysearch.interfaces;

import java.io.OutputStream;
import java.io.Writer;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface Service {
	public Product execute() throws Exception;
	public void setRequest (HttpServletRequest request);
	public void setResponse (HttpServletResponse response);
	public boolean isWriter();
	public void setWriter(Writer writer);
	public void setOutputStream (OutputStream outputStream);
	public void setUri(String uri);
	public String getUri();
}
